
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
          @font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?p4ssmb');
  src:  url('fonts/icomoon.eot?p4ssmb#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?p4ssmb') format('truetype'),
    url('fonts/icomoon.woff?p4ssmb') format('woff'),
    url('fonts/icomoon.svg?p4ssmb#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
        *{
    margin: 0;
    padding: 0;
}
nav{
    width: 1140px;
    height: 100px;
    /* border: 1px solid; */
    margin: 0 auto;
    position: relative;
}
nav>.little{
    position: absolute;
    top: 50%;
    margin-top: -40px;
}

nav>.little:nth-of-type(1){
    width: 80px;
    height: 80px;
    background-image: url("../第一天/images/1122879666_1184688902_88_88.png");
    background-size: contain;
  
}
nav>.little:nth-of-type(2){
    width: 600px;
    height: 80px;
    /* background-color: blue; */
    left: 200px;
  
}
nav>.little:nth-of-type(2) li{
    float: left;
    list-style: none;
    margin-right: 28px;
    line-height: 80px;
    color: black;
}
nav>.little:nth-of-type(3){
    right: 90px;
    height: 80px;
    width: 200px;
    /* background-color: pink; */
}
nav>.little:nth-of-type(3)>input{
    width: 120px;
    height: 50px;
    position: absolute;
    top: 15px;

}
span{
    position: absolute;
    top: 15px;
    right: 10px;
    width: 54px;
    height: 51px;
    display: inline-block;
    border: 1px solid #ccc;
    /* background-color: gray; */
    text-align: center;
    line-height: 51px;
    font-family: 'icomoon';
}


    </style>
</head>
<body>
    <nav>
        <div class="little"></div>
        <div class="little">
            <ul>
                <li>小米手机</li>
                <li>红米手机</li>
                <li>电视</li>
                <li>笔记本</li>
                <li>平板</li>
                <li>家电</li>
                <li>服务中心</li>
                <li>社区</li>
            </ul>
        </div>
        <div class="little">
            <input type="text" value="红米" style="padding-left: 10px;">
            <span></span>
        </div>
    </nav>
    <!-- 30% -->
</body>
</html>